package com.keqing.tomato.bean;

public class ItemInfo {
    private int itemType;
    private GroupInfo groupInfo;
    private ChildInfo historyInfo;

    public static final int type_group = 0;
    public static final int type_child = 1;

    public ItemInfo() {
    }

    public ItemInfo(int itemType, GroupInfo groupInfo) {
        this.itemType = itemType;
        this.groupInfo = groupInfo;
    }

    public ItemInfo(int itemType, ChildInfo historyInfo) {
        this.itemType = itemType;
        this.historyInfo = historyInfo;
    }

    public ItemInfo(int itemType, GroupInfo groupInfo, ChildInfo historyInfo) {
        this.itemType = itemType;
        this.groupInfo = groupInfo;
        this.historyInfo = historyInfo;
    }

    public int getItemType() {
        return itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    public GroupInfo getGroupInfo() {
        return groupInfo;
    }

    public void setGroupInfo(GroupInfo groupInfo) {
        this.groupInfo = groupInfo;
    }

    public ChildInfo getHistoryInfo() {
        return historyInfo;
    }

    public void setHistoryInfo(ChildInfo historyInfo) {
        this.historyInfo = historyInfo;
    }
}
